<!DOCTYPE html>
<html style="font-size:62.5%">
<head>
    <title>图片旋转</title>
    <style>
        .xuan_zhuang_bg:hover{
            -webkit-animation: mymove 12s linear infinite
        }
        @keyframes mymove {
            from {
                transform: rotate(0)
            }
            to {
                transform: rotate(360deg)
            }
        }
    </style>

</head>
<body >
<img class="xuan_zhuang_bg" src="xuanzhuang.png" alt=""/>
<div>ljhasdfhajkl</div>
</body>
</html>